package ar.edu.itba.it.cg.grupo01.impl.color;

import java.awt.Color;
import java.util.Random;

import ar.edu.itba.it.cg.grupo01.api.color.ColorMode;

public class RandomColorMode implements ColorMode {

	private final Random random;

	public RandomColorMode(final Random random) {
		this.random = random;
	}
	
	@Override
	public Color getColor() {
		return new Color(random.nextInt(255), random.nextInt(255), random.nextInt(255));
	}
}
